Image based tracking in augmented reality systems

ABSTRACT

Systems and methods for image based location estimation are described. In one example embodiment, a first positioning system is used to generate a first position estimate. A set of structure façade data describing one or more structure façades associated with the first position estimate is then accessed. A first image of an environment is captured, and a portion of the image is matched to part of the structure façade data. A second position is then estimated based on a comparison of the structure façade data with the portion of the image matched to the structure façade data.

CLAIM OF PRIORITY

This application is a continuation of and claims the benefit of priorityof U.S. patent application Ser. No. 16/438,226, filed Jun. 11, 2019,which is a continuation of and claims the benefit of priority of U.S.patent application Ser. No. 16/136,849, filed Sep. 20, 2018, which is acontinuation of and claims the benefit of priority of U.S. patentapplication Ser. No. 15/830,965, filed Dec. 4, 2017, which is acontinuation of and claims the benefit of priority of U.S. patentapplication Ser. No. 15/591,887, filed on May 10, 2017, which is acontinuation of and claims the benefit of priority of U.S. patentapplication Ser. No. 14/954,090, filed Nov. 30, 2015, which claims thebenefit of priority to U.S. Provisional Patent Application No.62/248,706, filed Oct. 30, 2015, each of which are hereby incorporatedby reference herein in their entireties.

BACKGROUND

Augmented reality refers to using computer generated enhancements to addnew information into images in a real-time or near real-time fashion.For example, video images of a wall output on a display of a device maybe enhanced with display details that are not present on the wall, butthat are generated to appear as if they are on the wall by an augmentedreality system. Such systems require a complex mix of image captureinformation that is integrated and matched with the augmented realityinformation that is to be added to a captured scene in a way thatattempts to seamlessly present a final image from a perspectivedetermined by the image capture device.

BRIEF DESCRIPTION OF THE DRAWINGS

Various ones of the appended drawings merely illustrate exampleembodiments of the present disclosure and should not be considered aslimiting its scope.

FIG. 1A is a block diagram illustrating a networked system, according tosome example embodiments.

FIG. 1B is a block diagram illustrating a networked system includingclient and client companion (e.g. wearable) devices, according to someexample embodiments.

FIG. 2 is a block diagram illustrating an example embodiment of aaugmented reality system, according to some example embodiments.

FIG. 3 illustrates aspects of an augmented reality system, according tosome embodiments.

FIGS. 4A, 4B, and 4C illustrate aspects of an augmented reality system,according to some embodiments.

FIGS. 5A-F illustrate aspects of an image based tracking in an augmentedreality system, according to some example embodiments.

FIG. 6 illustrates aspects of a tracking system for use with anaugmented reality system, according to some example embodiments.

FIG. 7 illustrates aspects of an augmented reality system, according tosome embodiments.

FIG. 8 illustrates aspects of an augmented reality system, according tosome embodiments.

FIG. 9 is a method for image based tracking, according to some exampleembodiments.

FIG. 10A illustrates aspects of a device that may be used for anaugmented reality system, according to some example embodiments.

FIG. 10B illustrates a user interface diagram depicting an examplemobile device and mobile operating system interface, according to someexample embodiments.

FIG. 11 is an example wearable device that may be used in associationwith some example embodiments.

FIG. 12 is a block diagram illustrating an example of a softwarearchitecture that may be installed on a machine, according to someexample embodiments.

FIG. 13 is a block diagram presenting a diagrammatic representation of amachine in the form of a computer system within which a set ofinstructions may be executed for causing the machine to perform any ofthe methodologies discussed herein, according to an example embodiment.

DETAILED DESCRIPTION

The following relates to augmented reality image processing and imagebased tracking. Some particular embodiments describe using an initialrough location estimate to identify façade data about local buildings.An image captured for an augmented reality system may then be comparedwith the façade data. This comparison attempts to match some or all of abuilding façade against a portion of the captured image. Location andperspective information from the façade data may be used along with anidentified matching portion of the captured image to generate a secondestimate of the location associated with the perspective of the capturedimage. This second, more accurate location may then be used to placevirtual items within the captured image or subsequent related capturedimages as part of an augmented reality display.

The description that follows includes systems, devices, and methods thatillustrate embodiments of the disclosure. In the following description,for the purposes of explanation, numerous specific details are set forthin order to provide an understanding of various embodiments of theinventive subject matter. It will be evident, however, to those skilledin the art, that embodiments of the inventive subject matter may bepracticed without these specific details.

Augmented reality, as described herein, refers to systems and devicesthat capture images, enhance those images with additional information,and then present the enhanced information on a display. This enables,for example, a user to hold up a phone to capture a video stream of ascene, and an output display of the phone to present the scene asvisible to the user along with additional information. This informationmay include placing virtual objects in the scene so the virtual objectsare presented as if they existed in the scene. Aspects of such virtualobjects are processed to occlude the virtual object if another real orvirtual object passes in front of the virtual object as shown from theperspective of the image sensor capturing the environment. Such virtualobjects are also processed to maintain their relationship with realobjects as both real and virtual objects move over time, and as theperspective of the image sensor capturing the environment changes.

One issue that arises with such augmented reality scenes including bothreal objects and virtual objects is setting and maintaining a trackingbetween the real objects and the virtual objects. This tracking isimportant to maintaining an immersive presentation of the virtualobjects within the environment and treating the virtual objects as ifthey were real within the environment. Failed tracking creates jitter orunexpected movement of the virtual item within a scene, or may set aninitial virtual object placement that overlaps or is out ofsynchronization with real objects in unnatural ways.

Simultaneous location and mapping (SLAM) systems are systems that areused to track key points in two dimensional image frames of video, andto identify three-dimensional objects from the image frames as well as arelative location of the camera to those objects. Such processing toidentify three-dimensional objects, however, is processor and memoryintensive.

A “façade” as used herein refers to details of a building or physicalstructure, including details of building walls. The real worldenvironment of a building may include significant three-dimensionaltexture, but as used herein, a façade includes portions of a wall orbuilding that may be modeled as two-dimensional. This particularlyincludes patterns such as murals or other images that may be part of abuilding's wall surfaces. Façade data for a building may include asimplified two-dimensional model of one or more exterior walls of abuilding. Such a model may include location points for such walls, aswell as two-dimensional image data from such walls. When compared withcomplex three-dimensional point cloud models of objects, atwo-dimensional façade model is much simpler. Processing an image toidentify a match with a two-dimensional model of a wall also willgenerally consume fewer processing resources than processing one or morevideo images against a three-dimensional model of an object.Efficiencies in processor and memory systems are particularly importantwhen working with mobile devices or wearable devices with significantlimitations on resource availability.

Further still, by using global positioning systems or other locationbased systems to identify an initial rough location estimate, theprocessing resources needed to match two-dimensional façade data againsta captured image may be further limited. Map databases may include imageinformation and/or façade models for buildings in a particular location.Using such a database along with an initial rough location estimate maybe used to limit the expected buildings in a captured image to a verysmall number, or may automatically be used to identify a singlebuilding. Starting with this information, some devices with limitedprocessing resources can match the two-dimensional façade data againstthe captured image in a near real-time fashion. Some such devices maynot be able to perform such near real-time calculations forthree-dimensional matching. The perspective of a building that isrepresented in a captured image may then be used to create an accurateestimate of a position of the image sensor that was used to generate thecaptured image. Such an accurate position estimate may be used in avariety of ways, including use to properly place and track virtualobjects within an environment as part of an augmented reality system.

FIG. 1A is a network diagram depicting a network system 100 having aclient-server architecture configured for exchanging data over anetwork, according to one embodiment. Such a network system may be usedto communicate information for virtual objects to be displayed on clientdevices 110, street view data used to create façade models, and theresulting façade models as they are used by augmented reality system160. In some embodiments, the network system 100 may be a messagingsystem where clients communicate and exchange data within the networksystem 100. The data may pertain to various functions (e.g., sending andreceiving text and media communication, determining geolocation, etc.)and aspects associated with the network system 100 and its users.Although illustrated herein as client-server architecture, otherembodiments may include other network architectures, such aspeer-to-peer or distributed network environments.

As shown in FIG. 1A, the network system 100 includes a social messagingsystem 130. The social messaging system 130 is generally based on athree-tiered architecture, consisting of an interface layer 124, anapplication logic layer 126, and a data layer 128. As is understood byskilled artisans in the relevant computer and Internet-related arts,each module or engine shown in FIG. 1A. represents a set of executablesoftware instructions and the corresponding hardware (e.g., memory andprocessor) for executing the instructions. To avoid obscuring theinventive subject matter with unnecessary detail, various functionalmodules and engines that are not germane to conveying an understandingof the inventive subject matter have been omitted from FIG. 1A.Additional functional modules and engines may be used with a socialmessaging system, such as that illustrated in FIG. 1A, to facilitateadditional functionality that is not specifically described herein.Furthermore, the various functional modules and engines depicted in FIG.1A may reside on a single server computer, or may be distributed acrossseveral server computers in various arrangements. Moreover, although thesocial messaging system 130 is depicted in FIG. 1A as a three-tieredarchitecture, the inventive subject matter is by no means limited tosuch an architecture.

As shown in FIG. 1A, the interface layer 124 consists of interfacemodules (e.g., a web server) 140, which receive requests from variousclient-computing devices and servers, such as client devices 110executing client applications 112, and third party servers 120 executingthird party applications 122. In response to received requests, theinterface modules 140 communicate appropriate responses to requestingdevices via a network 104. For example, the interface modules 140 canreceive requests such as Hypertext Transfer Protocol (HTTP) requests orother web-based Application Programming Interface (API) requests.

The client devices 110 can execute conventional web browser applicationsor applications (also referred to as “apps”) that have been developedfor a specific platform to include any of a wide variety of mobilecomputing devices and mobile-specific operating systems (e.g., IOS™,ANDROID™, WINDOWS® PHONE). In an example, the client devices 110 areexecuting the client applications 112. The client applications 112 canprovide functionality to present information to a user 106 andcommunicate via the network 104 to exchange information with the socialmessaging system 130. Each of the client devices 110 can comprise acomputing device that includes at least a display and communicationcapabilities with the network 104 to access the social messaging system130. The client devices 110 comprise, but are not limited to, remotedevices, work stations, computers, general purpose computers, Internetappliances, hand-held devices, wireless devices, portable devices,wearable computers, cellular or mobile phones, personal digitalassistants (PDAs), automotive computing devices with driver heads updisplays (HUD), smart phones, tablets, ultrabooks, netbooks, laptops,desktops, multi-processor systems, microprocessor-based or programmableconsumer electronics, game consoles, set-top boxes, network personalcomputers (PCs), mini-computers, and the like. Users 106 can include aperson, a machine, or other means of interacting with the client devices110. In some embodiments, the users 106 interact with the socialmessaging system 130 via the client devices 110.

As shown in FIG. 1A, the data layer 128 has one or more database servers132 that facilitate access to information storage repositories ordatabases 134. The databases 134 are storage devices that store datasuch as sets of images of external areas generated by client devices 110and sent to social messaging system 130; sets of façade data generatedfrom images including buildings; map data matching images and façadedata to geolocations; and other such data. In one embodiment, a databasestores images captured from a street and associates those images withmap data. Some implementations of such an embodiment may use filters orimage cropping to remove people from the images, such as an embodimentthat only stores image data above a height that includes people.Databases 134 may also store data such as member profile data, socialgraph data (e.g., relationships between members of the social messagingsystem 130), and other user data.

An individual can register with the social messaging system 130 tobecome a member of the social messaging system 130. Once registered, amember can form social network relationships (e.g., friends, followers,or contacts) on the social messaging system 130 and interact with abroad range of applications provided by the social messaging system 130.

The application logic layer 126 includes various application logicmodules 150, which, in conjunction with the interface modules 140,generate various user interfaces with data retrieved from various datasources or data services in the data layer 128. Individual applicationlogic modules 150 may be used to implement the functionality associatedwith various applications, services, and features of the socialmessaging system 130, including aspects of augmented reality system 160.For instance, a social messaging application can be implemented with oneor more of the application logic modules 150. The social messagingapplication provides a messaging mechanism for users of the clientdevices 110 to send and receive messages that include text and mediacontent such as pictures and video. The social messaging application mayalso include mechanisms for providing augmented reality displays andcontent that integrate pictures and video with virtual objects. Theclient devices 110 may provide augmented reality displays and may alsoenable users to access and view the messages from the social messagingapplication for a specified period of time (e.g., limited or unlimited).In an example, a particular message is accessible to a message recipientfor a predefined duration (e.g., specified by a message sender) thatbegins when the particular message is first accessed. After thepredefined duration elapses, the message is deleted and is no longeraccessible to the message recipient. Similarly, augmented realitycontent may be provided for a predefined duration. Other applicationsand services may be separately embodied in their own application logicmodules 150.

As illustrated in FIG. 1A, the social messaging system 130 or the clientapplications 112 include augmented reality system 160 that providesfunctionality to generate augmented reality images. In some embodiments,the augmented reality system 160 can be implemented as a standalonesystem on a client device 110 and is not necessarily included in thesocial messaging system 130. In other embodiments, the client devices110 include a portion of the augmented reality system 160 (e.g., aportion of the augmented reality system 160 may be includedindependently or in the client applications 112). In embodiments wherethe client devices 110 include a portion of the augmented reality system160, the client devices 110 can work alone or in conjunction with theportion of the augmented reality system 160 included in a particularapplication server or included in the social messaging system 130.

FIG. 1B illustrates an alternative network system 101 that may be usedwith certain embodiments. Network system 101 includes social messagingsystem 130 with interface modules 140, application logic modules 150,database servers 132, and databases 134, as well as client devices 110operating client applications 112, just as in network system 100.Network system 101, however, additionally includes client companiondevices 114 connected to client devices 110. Client companion devices114 may be wearable devices such as glasses, visors, watches, or othernetwork enabled items. Client companion devices may also be any devicedescribed herein that accesses a network such as network 104 via anotherdevice such as client device 110. Client companion devices 114 includeimage sensors 116, wireless input and output (I/O) 117, and a display118. Client companion devices 114 may include one or more processors, abattery, and a memory, but may have limited processing and memoryresources. In such embodiments, client device 110 and/or servercomputing devices used for social messaging system 130 may be used vianetwork connections to provide remote processing and memory resourcesfor client companion devices 114. In one embodiment, for example, clientcompanion device 114 may be a pair of network enabled glasses, such asthe glasses of FIG. 11. Such glasses may not include any sensor basedpositioning system, so that methods described herein that perform aninitial location estimate may estimate the position of a client device110 that is wirelessly connected to the glasses. The glasses, however,gather images using image sensors 116 and use those images as a basis togenerate and present augmented reality information to the user viadisplay 118. The perspective of the images and any virtual objects addedto images thus need to be tracked based on the position of the clientcompanion device 114 glasses. In such an embodiment, the initiallocation may be based on the client device 110 location using globalpositioning system (GPS) or network enhanced location services. An imagebased location system 161 operating either on client devices 110, onsocial messaging system 130, or on both, may then use image data fromimage sensors 116 along with façade data identified by the initiallocation of the client device 110 to determine a location of the clientcompanion device 114. In some embodiments, because the range of wirelessI/O 117 systems is low, the system may assume that the location ofclient device 110 is within a sufficiently close distance of clientcompanion device 114 that the façade data for buildings close to bothdevices will be the same.

FIG. 2 is a block diagram 200 of one embodiment of an augmented realitysystem 160. The augmented reality system 160 is shown to include animage based location system 161, a communication module 210, apresentation module 220, a configuration module 230, an alignment module240, a virtual item module 250, an analysis module 260, and a mappositioning system 270. All, or some, of the modules 210-270 communicatewith each other, for example, via a network coupling, shared memory, andthe like. Each module of the modules of augmented reality system 160 canbe implemented as a single module, combined into other modules, orfurther subdivided into multiple modules. Other modules not pertinent toexample embodiments can also be included, but are not shown.

The communication module 210 provides various communicationfunctionality. For example, the communication module 210 receives,accesses, or otherwise obtains image data of an image from a userdevice. In a specific example, the communication module 210 receivessubstantially real-time image data from a camera sensor of a smart phone(e.g., a single frame of image data or a continuous stream of framescaptured by a camera sensor of the smart phone). The communicationmodule 210 exchanges network communications with the database servers132, the client devices 110, and the third party servers 120. Theinformation retrieved by the communication module 210 includes dataassociated with the user (e.g., member profile data from an onlineaccount or social network service data) or other data to facilitate thefunctionality described herein.

The presentation module 220 provides various presentation and userinterface functionality operable to interactively present and receiveinformation to and from the user. For instance, the presentation module220 is used to manage output of image data with aligned and insertedvirtual objects, so that augmented reality images may be presented on adisplay. As mentioned above, these images may be presented in real-timeor near real-time as the images are captured, processed to add virtualobjects, and displayed with the virtual objects as quickly as possible.Presentation module 220 is also utilizable to present user interfaces,AR objects, or any such information generated in response to decoding anoptical barcode such as optical barcode 806 discussed below. In variousembodiments, the presentation module 220 presents or causes presentationof additional information (e.g., visually displaying information on ascreen, acoustic output, haptic feedback). The process of interactivelypresenting information is intended to include the exchange ofinformation between a particular device and the user. The user mayprovide input to interact with the user interface in many possiblemanners, such as alphanumeric, point based (e.g., cursor), tactile, orother input (e.g., touch screen, tactile sensor, light sensor, infraredsensor, biometric sensor, microphone, gyroscope, accelerometer, or othersensors). The presentation module 220 provides many other userinterfaces to facilitate functionality described herein. The term“presenting” as used herein is intended to include communicatinginformation or instructions to a particular device that is operable toperform presentation based on the communicated information orinstructions. This may include both output on a screen as well asprojection of an image onto a user's eye.

The configuration module 230 may be used to accept and manage userselection of system options. This may include options to select variousaugmented reality selections, including enabling augmented reality andrequesting certain types of augmented reality information to be providedor triggered based on user inputs or input based triggers. For example,configuration module 230 may include a setting provided by a user toautomatically present information about certain types of locations whenthe locations are identified in an image based location system or a mappositioning system. Configuration module 230 may also accept usersettings to automatically provide direction information in an augmentedreality image when direction input triggers are received viacommunication module 210. In other embodiments, any other triggers forimplementing image based location or augmented reality images may bemanaged by configuration module 230. For example, the configurationmodule 230 extracts and analyzes candidate shape features or candidatecontour characteristics from image data of the image received from theuser device (e.g., the client devices 110) when a system includes suchanalysis as a trigger for display of augmented reality images. Theconfiguration module 230 determines satisfaction of various rules orcriteria associated with the extracted candidate shape features. Theconfiguration module 230 compares the extracted candidate shape featureswith reference shape features of the custom graphic or another referenceimage. The configuration module 230 can employ a wide variety of schemesand techniques to extract candidate shape features from the image dataof the image and subsequently trigger display of augmented realityimages.

The alignment module 240 provides image processing functionality todetermine and verify an alignment of the image data captured by an imagesensor and the virtual objects placed into the image. In someembodiments, alignment module 240 may access or generate a computermodel of the environment, and may use the computer model to insertvirtual items into an image based on the computer model of theenvironment. In some embodiments, alignment module 240 may performthreshold or rule checks to verify that virtual items displayed inaugmented reality images meet certain quality metrics to provide anacceptable user experience. This may include verifying that a virtualobject does not move in unexpected ways with respect to objects in animage, that images captured by an image sensor are sufficiently stableover time to enable augmented reality functions, or other such metrics.In some embodiments, the alignment module 240 extracts spatialattributes from the image data. In various embodiments, the spatialattributes include at least one of position, orientation, scale, orother spatial aspects of objects in images. The alignment module 240determines an alignment of the image objects based on the spatialattributes (e.g., a particular orientation). In an example, thealignment module 240 can determine an alignment including position andorientation based on the spatial attributes and generate a transformedimage according to the alignment.

The virtual item module 250 provides functionality to generate imagesassociated with virtual items. In some embodiments, this may includegraphics information related to virtual location markers, virtualdirection arrows, or virtual items or objects. In some embodiments, thismay include graphics information for inserting mobile virtual objectsinto video (e.g., virtual animals, robots, dinosaurs, video display,etc.). In some embodiments, for each virtual object, presentation rulesmay be stored in virtual item module 250 and used by other modules toverify that virtual objects may be inserted into image data withsufficient output quality.

The analysis module 260 provides functionality to perform a variety ofimage processing operations. Such operations may include imageprocessing operations to identify key points in an image and to matchtwo-dimensional façade data against portions of an image to identify amatch. For example, in some embodiments, analysis module 260 may acceptan image and identify building corners or other key points in the imagethat may contain two-dimensional pattern data as part of a façade.Analysis module 260 may then take façade data from a model and match theportion of the image to a building façade model included in the façadedata. In some embodiments, if no match is found, an analysis module 260operating on a client device 110 may request additional information oradditional processing by an analysis module 260 operating on a remoteserver, such as a third party server 120 or a server that is part of asocial messaging system 130.

The map positioning system 270 provides map data including associationsbetween map locations and façade data associated with buildings in alocation, or any other such information in a system. Map positioningsystem 270 may also interface with remote servers or systems, which mayprovide this information. Additional aspects of a map positioning system270 are discussed below with respect to FIG. 6.

Image based location system 161 may comprise modules to accept streetview images from any number of sources and analyze the images togenerate façade data. Such façade data may include two-dimensionalestimates of certain patterns on a building, as well as key pointinformation for simple building locations, such as the locations ofbuilding corners or corners of two-dimensional façade patterns on abuilding. In some embodiments, information from multiple images may beused to generate façade data for a single building. Such informationfrom multiple images may be used to match colors in different lightingsituations, or to match minor changes over time to a building façade. Insome embodiments, specialized image and location capture equipment maybe used to generate information about building locations, keypoints ofbuildings, and building façade data with high accuracy in order to builda database of outdoor images of buildings in order to provide accuratereferences for image based location systems. Capturing locations ofbuilding corners, for example, with high accuracy (e.g., accuracy on theorder of single digit centimeters or millimeters) provides a basis foran image based location estimate for a camera position with similarerrors. In some embodiments, determining a camera position within a fewcentimeters (e.g., 5 cm) is sufficient to provide augmented realitypresentation with a low chance of clear errors in the output images thatbreak the reality illusion of augmented reality images.

In some embodiments, image based location system 161 may be distributedover a local client device and a remote server, with low informationfaçade models (e.g., models with low-resolution and/or low colortwo-dimensional façade data and a small number of keypoints) storedlocally on a device for regularly visited locations, expected futuretravel locations, or for buildings which the system believes might benear a device in the future. High information models (e.g., highresolution, high color information, and/or high numbers ofthree-dimensional keypoints) may be stored remotely and used when localcompact façade models fail. Image based location system 161 may manageapplication of façade data and models to match portions of capturedimages using analysis module 260. Once a match is found using analysismodule 260, location information related to a building matching façadedata or keypoints in a building may be used to calculate a relativeposition of the camera perspective in a captured image. This relativeposition may be used to determine an absolute position based on theposition of building keypoints or other absolute position informationthat is part of a façade or other model for a building associated withfaçade data.

FIG. 3 illustrates aspects of an augmented reality system, includingtracking and image sensor position errors that may generate problemswith augmented reality images. As discussed above, an augmented realitysystem incorporates virtual objects into a scene captured by an imagesensor. In order to correctly position and modify virtual objects withinan augmented reality image, information about an image sensor position,real objects in a scene, and the virtual object position all need to beknown. FIG. 3 shows an AR (augmented reality) scene 302 including realobject data 340 captured by image sensor 311 of camera device 310. Realobject data 340 includes information about physical objects in spacedistributed over a scene. In order to generate AR scene 302, the scenegenerated from real object data 340 is modified to add virtual objectdata 350. Virtual object data 350, however, is shown as misaligned withreal object data 340 by tracking error 362. Such a tracking error 362may result in improper and unnatural overlay of virtual objects on topof or behind real objects as presented in AR scene 302. An example ofsuch an overlay error is illustrated by FIG. 4A. Tracking error 362 mayhave multiple causes or contributing factors, but image sensor positionerror 370, where an error in the understood position of image sensor 311propagates to the placement of virtual object data 350 in AR scene 302,is one contributing factor to tracking error 362.

FIG. 4A shows an AR image 300 including real object data of buildings,trees, people, and pathways. An augmented reality system used to addaugmented reality destination object 312 and augmented reality directionobject 320 may use a map model of an environment to determine a locationfor augmented reality objects, and may then use an estimated cameraposition to place the augmented reality direction objects 310, 320 in ARimage 300. An error in position estimation of a sensor that provides theperspective in AR image 300 may result in misplacement of objects 310and 320. As shown, augmented reality direction object 320 shows adirection path through solid objects, and a destination object that isfloating in an unexpected foreground placement. Such errors may, in someembodiments, be due to a large error in an estimated position of theimage sensor which is used to determine placement of objects 310 and320.

FIG. 4B then shows augmented reality direction object 380 and augmentedreality destination objects in an expected and correct placement withinAR image 301 with a small or no tracking error. As described herein, afirst structure façade portion 360 and/or a second structure façadeportion 370 of the original image used for AR image 301 may beidentified and matched to façade data. Façade data for first structurefaçade portion 360 may initially be used to identify first structurefaçade portion 360 within the original image. The rotation, size, andplacement of the first structure façade portion 360 within the image andcompared with façade data for the matching building may be used togenerate a high accuracy position estimate for the image sensor. Thismay reduce or eliminate an image sensor position error, and improvetracking for AR image 301.

Further still, in some embodiments, the calculations performed to matchfaçade data from a database to a portion of an image may also be used togenerate two dimensional augmented reality objects that match the façadesurface. FIG. 4C illustrates an example using two-dimensional augmentedreality data for augmented reality “sticker” objects. In a simplestexample, augmented reality destination object 390 may simply be atwo-dimensional triangle associated with a three-dimensional set ofgeolocation coordinates. Regardless of which angle such atwo-dimensional sticker object is viewed from, it will always be seen asthe same shape in an augmented reality image. Similarly, an emojisticker object may be used in certain embodiments. In such embodiments,a user may access a simple interface to graphically select an emoji andplace the emoji in an image, so that the augmented reality systemassociates the emoji sticker object with another object in the image orwith a set location. AR object 392, for example, is a two-dimensionalemoji sticker object attached to a destination location. AR object 392will float above the destination location within the AR image 301 andany related AR images. If an AR object 392 is attached to an object thatmoves, such as a book, or a space above a person, the AR object 392 mayretain a relative position with respect to the attached object or arelative position that is a set space above the attached object.

In some such embodiments, an AR sticker object may be attached to abuilding with associated façade data in an augmented reality system. ARfaçade sticker object 394 is an emoji graphic used as an augmentedreality object in image 301. As a perspective of an augmented realityview changes, the perspective of AR façade sticker object 394 changes tomaintain the appearance that AR façade sticker object 394 is attached tothe building wall. In order to eliminate redundant calculations, theperspective data about first structure façade portion 360 may be used tocalculate the perspective required for AR façade sticker object 394,since they are in the same plane of the augmented reality space.

In other embodiments, AR objects such as AR object 392 may be 3Dobjects, such that an AR object like AR object 392 could be a spherewith a face on one side. Another such AR object could be any such 3Dversion of an emoji, face, animal, or other object. In one embodiment,an AR object could be a 3D tree covered with colored lights in a varyingpattern. Any such AR object may also include animations. For example,the lights on the tree could sparkle and blink in different patterns.Such an AR object could further be placed or move, such that the treewith blinking lights could spin while moving through the air. In someembodiments, the system is able to generate and place an associated“sticker” version of such a 3D AR object. This may be done with a 2Dprojection of the 3D object at a user viewing elevation or a systemstandard (e.g. 0, 15 degree, etcetera) elevation. Such a generated 2Dsticker object can then be placed on a wall or façade using thecalculations previously performed by the system as described within thecontext of various other embodiments herein. If multiple 2D stickerobjects are generated from different viewing angles, the stickers mayhave different patterns due to the different viewpoints. The 2D stickerversions may have fixed coloring, or may maintain some of the animationsof the 3D object. For example, the lights on a 2D tree may sparkle andblink similar to those in the corresponding 3D AR object. Thus, asdescribed herein, AR objects may include a variety of faces, emoji,animals, custom user made objects, or any other such possible ARobjects. Such AR objects may have associated animations, sounds,transformations, and any other such AR object functionality.

Some embodiments described herein can then use communication data or aset of pictogram data stored at the device to generate augmented realityimages with these sticker objects. One embodiment involves receiving oraccessing at the device, two-dimensional augmented reality data for asticker object, determining an augmented realty placement of the stickerobject as positioned on a plane with the one or more façade surfacelocations, using the expected perspective for the low-resolutiontwo-dimensional façade pattern as a sticker object perspective, andgenerating an augmented reality image comprising the sticker object onthe plane with the one or more façade surface locations based on theexpected perspective.

The two-dimensional augmented reality data can, in some embodiments,represent an emoji object selected by a user input from a set ofaugmented reality system pictograms. A user interface within a messagingor augmented reality system may display a set of pictograms or emojiimages on an interface similar to the interface of FIG. 10B, and thenenable a user to associate a location with the selection to generate anaugmented reality object within an environment in order to generateaugmented reality images such as augmented reality image 303.

FIGS. 5A-F illustrate, in a simplified form, how a façade image portionof an image captured by a sensor may be used to estimate a position ofthe image sensor. As illustrated, the size and shape of a building sidewill change based on a position of the sensor capturing the image. If anabsolute size and shape of a façade 501 for building 500 is known, thengiven a façade image portion representing façade 501, a sensor positioncan be calculated. As described above, such size and shape data, alongwith two-dimensional pattern information for images or characteristicsof a building, may be captured and stored in a database, both as imagesand as modeled façade data. Using this façade data to matchtwo-dimensional patterns and to provide information about the size andshape of façade 501, given a façade image portion 502, position 504 canbe identified as the location of the sensor that would provide façadeimage portion 502. Transform calculations can also be used to determine,for example, that façade image portion 512 would result from façade 501being captured from position 514, and façade image portion 522 wouldresult from an image being captured from position 524. Thus, asdescribed above, given façade information for a building and a capturedimage from a device sensor including the façade, calculations may beperformed to identify the position of the sensor relative to the façade.

Even with the limitations of two-dimensional façade matching, comparingfaçade data for many buildings against multiple facades within an imageis a processor intensive process. Thus, as described above, an initiallocation estimate may limit the number of matching procedures needed. AGPS, network assisted location system, or other device sensors andsystems for location determination may thus be used to provide aninitial location estimate. Such estimates may have errors of a fewmeters or tens of meters. FIG. 6 illustrates aspects of a mapping systemused to generate an initial location estimate, and to identify façadedata for buildings in an area. Geolocation data 600 derived from suchinformation may be used, however, to identify an environment expected tobe captured by an image sensor. The larger the error, the larger thenumber of buildings identified in the environment and possible façadedata to be matched against a captured image. In some embodiments,position data may also be used to limit the possible buildings based ona direction associated with an image sensor. As shown by FIG. 6, anenvironment 610 may include a first building 620. A database or imagebased location system may determine the possible buildings withinenvironment 610 including first building 620, and may have associatedfaçade data 640 for a wall/first façade 630 of first building 620. Thisfaçade data 640 may then be compared with an image associated withgeolocation data 600.

FIG. 7 then illustrates an AR image 700 that may be part of an AR videoor AR event. In an AR event, virtual objects such as virtual object 710may move within a virtual environment matched to the real environment,so that as a camera perspective changes, virtual object 710 is notstatic, but moves overtime whether or not virtual object 710 is withinthe perspective area captured by a sensor. AR image 700 may be generatedusing image based tracking to locate and set a correct image sensorlocation and pose within the AR and matching real world environment.This tracking may be performed with the capture of image data and amatch of first structure façade portion 720 of the image data to façadedata 722, with the position of the sensor determined based on thismatch. In some embodiments, multiple buildings may be matched, such thatsecond structure façade portion 730 may be matched to façade data 732,and both matches used to determine the camera position. As referred toherein, the camera and/or sensor position refers to all aspects of asensor position that impact a generated image, including height,longitude, latitude, elevation, azimuth, rotation, or any other suchelement in any coordinate and perspective description system. Thisestimated camera position may then be used to correctly image virtualobject as part of AR image 700, and avoid errors with virtual object 710running through buildings or cars as if they were not there rather thanrunning down the open street.

As illustrated by FIG. 8, any façade information for a two-dimensionalsurface in a known location may be used in various embodiments describedherein. In some embodiments, murals or wall paintings may be used asfaçade data, while in other embodiments, posters or advertisements inknown positions may be used. In some embodiments, codes, logos, signs,or other two-dimensional objects or objects that can be reliablyestimated as two-dimensional for matching purposes, may be used. Thisincludes structures other than buildings, including billboards, sides ofopens structures, or any other façade placement that is expected to bestationary over at least a set amount of time.

In FIG. 8, for example, a custom graphic in an image portion providesalignment information that may be further matched with façade data aboutthe custom graphic. Façade data may also include position and elevationinformation about the custom graphic that may be used in matching and indetermining an image sensor position based on the size and shape of thegraphic and other elements of a façade in a portion of a captured image.Such a graphic may also be used in placement of two-dimensional objectssuch as emoji stickers within a virtual environment.

In the diagram 800, a scene 802 illustrates a facade 804 that includesan optical barcode 806, and a user 810. It will be appreciated that theoptical barcode 806 can be displayed in a variety of manners such as ona user device display, a computer display, woven or otherwise affixed toan article of clothing or another product, or included in a variety ofprinted items.

In an example embodiment, the user device 814 captures an image of theposter 804 that includes the optical barcode 806. The augmented realitysystem 160 receives the image data representing the image from the userdevice 814. In this example embodiment, the augmented reality system 160is included in the user device 814 (e.g., an application executing on asmart phone of the user 810), although in other example embodiments, theaugmented reality system 160 can reside on a server (e.g., a server ofthe social messaging system 130) that is communicatively coupled withthe user device 814. The captured image may then be compared with façadedata about poster 804 to identify a position of an image sensor. Thisimage sensor position may then be used to provide accurate placement ofvirtual objects in an AR scene.

FIG. 9 is a flow diagram illustrating an example method 900 for imagebased tracking and position estimation for an image sensor. In someembodiments, the operations of the method 900 can be performed bycomponents of the augmented reality system 160 as described above.

Operation 902 involves determining, using a first positioning system, afirst position estimate for the device. Such a position system mayinclude any combination of a GPS, a network assisted location systemsuch as a secure user plane location (SUPL) system, position systemsbased on sensors of a device such as accelerometer or gyroscope trackingsystems, or any other such initial tracking method.

Then, based on the first position estimate, operation 904 involvesaccessing a set of structure facade data describing one or morestructure facades associated with the first position estimate. Asdescribed above, in some embodiments, a database of street images andfaçade data may be generated using specialized equipment. In otherembodiments, large amounts of user data may be used to gather images andmany data points regarding façade data and building key points. Thefaçade data may include different types and combinations of data. Insome embodiments, façade data includes absolute location information forone or more points on the façade that are clearly identifiable. Suchpoints include building corners or clearly defined patterns or imagecorners. Façade data may additionally include two-dimensional imagepatterns that are part of a building façade, such as data versions ofartwork, signage, logos, words, windows, arches, doorways, or othersufficiently two-dimensional portions of a building side.

In some embodiments, images captured for use with augmented realitysystems may be provided as feedback to generate and update façade datawhile a user is using the system. In order to provide privacy in suchsituations, in some embodiments, the image data captured by users may beprocessed to eliminate or blur users, or may have all data below userheight level removed with only building or façade portions of imagestransferred to a server system for use in generating or updating façadedata using map, building, or environment models.

Operation 906 then involves capturing, by an image sensor of the device,a first image of an environment. Such an image sensor may be any cameradevice sensor or light sensor capable of capturing two-dimensionalinformation of a building and an environment. In some embodiments,additional sensors may be present including multiple image sensors orsensors for capturing three-dimensional data. Such embodiments maysupplement the two-dimensional analysis of façade data matched to façadeportions of images as allowed by system resource limitations such asbattery and processing power limitations.

Then, at operation 908, using the set of structure facade data, a firststructure facade portion of the first image of the environment isidentified, wherein the first structure façade portion matches firststructure façade data of the set of structure façade data. Operation 910then involves calculating, based at least in part on the first structurefacade portion of the first image of the environment, a second positionestimate of the device.

In various embodiments, the image data from the user device is receivedin response to a user-initiated image capture, a periodic monitoring ofimage data being detected by the optical sensor of the user device, or acombination thereof. In some embodiments, the image data represents animage or video being captured by the user device in substantiallyreal-time (e.g., a live image feed from a camera sensor of a smartphone). In some embodiments, elements of captured images may be used toinitiate generation of AR images, and an output of video enhanced withAR elements, which also attempts to output the AR images as video insubstantially real-time. In embodiments where the image data comprisesvideo image data, the augmented reality system 160 can analyzeindividual frames of the video or a combination of multiple frames ofthe video to detect and decode trigger elements or matched façadeportions of images.

The matching portion of method 900 may use various techniques formatching façade data with an image. In some embodiments, combinations ofedge detection in images may be compared against edges identified infaçade data. In other embodiments, candidate shapes for each buildingfaçade may be present in façade data and compared against image data.Some embodiments identify shape features such as contour lines orlocalized concentrations of color or shading of the image. In someembodiments, a matching system extracts multiple candidate shapefeatures from the image data. In some embodiments, the candidate shapefeature includes various shape feature data such as a position of thecandidate shape feature relative to a boundary of the image, abrightness of the candidate shape feature relative to the image, anaverage color of the candidate shape feature, and so forth. Limitationof the match to two-dimensional façade data as described above increasesmatch performance while limiting resource usage as described above whencompared to three-dimensional match processes.

In further example embodiments, façade data stored locally on a mobiledevice includes a low-resolution copy of the image. A matchingresolution version of the captured image is created. Various imageprocessing may be performed, such as a blur (e.g., a Gaussian blurfunction or another blur function) and a thresholding, to generate amodified low-resolution image. The thresholding image process caninclude adjusting lighter colors (e.g., as determined by a threshold orthreshold range) of the low-resolution copy of the image to a whitecolor and darker colors (e.g., as determined by a threshold or thresholdrange) of the low-resolution copy of the image to a black color. Façadedata may then be compared against a standardized image. In otherembodiments, façade data may include matching data customized forenvironmental factors present at the time an image is taken, such as sunposition, cloud impact on an image, or other environmental factors.

In some embodiments, matching as described in operation 908 may beperformed through determining that a candidate portion of an imagesatisfies one or more shape feature criteria or rules associated withfaçade data.

In some embodiments, the matching system can perform an image transformusing the spatial attributes (e.g., a de-skew, a rotation, a scale, oranother type of image transform) to improve detectability or readabilityof data encoded in a portion of the image. The particular imagetransforms used to identify a match may further be used as part of thecalculation of the second position estimate of the device in operation910. In some embodiments, an initial set of match calculations areperformed in an operation 908, and once a threshold match is completed,subsequent calculations are performed to further limit error in thesecond position estimate by using additional refinements of imagetransforms including finer transform adjustments and match verification.

As described above with respect to FIGS. 1A and 1B, in some embodiments,an initial match and/or position estimation using façade data storedlocally on a mobile device may fail. This may be due to lighting,unusual obstructions such as vehicles or tree growth blocking portionsof a façade in an image, or any other such image match failure,particularly when low-resolution and resource constrained matchingoperations are used at a mobile device.

Such an embodiment may involve calculating, from the first positionestimate and the one or more façade surface locations, an expectedperspective for the low-resolution two-dimensional façade pattern andprocessing the low-resolution two-dimensional façade pattern to generatea first perspective pattern. A determination may then be made at themobile device that the first perspective pattern does not meet athreshold match level for the first image. A supplemental set of façadedata may then be requested from a first server computer. This may be athird party resource requested to provide additional detailedinformation or analysis, or may be a server of a system operating aportion of an augmented reality or image based matching system asdescribed in FIGS. 1A, 1B, and 2. A supplemental set of façade data fromthe first server computer and used in identifying the first structurefaçade portion of the first image of the environment, where the firststructure façade portion as matching the first structure façade portionwith the first structure façade data of the set of structure façade datais based on the supplemental set of façade data. In some suchembodiments, requesting the supplemental set of façade data from thefirst server computer involves communicating the first image of theenvironment to the first server computer and receiving a supplementalposition estimate from the first server computer based on the firstimage.

In some embodiments, particularly embodiments using remote resources viaa network, a delay may occur between matching of the image to façadedata and a current time or a most recently captured image for a nearreal-time augmented reality video or display. In such embodiments, asystem may track relative changes in movement of a device over time, andmay use the image based location to improve later sensor positionestimates. This may be done by keeping a record of video frames andimages or other sensor data and calculating forward a position from theimage based estimate using any available data. In some embodiments, aninitial resource intensive matching may be performed remotely, withsubsequent matching and sensor location estimates performed locallyusing lower resource matching and estimation processes. In some suchembodiments, errors may be tracked, and remote resources usedperiodically to update position estimates and reduce errors that maygrow over time in calculations on a local mobile device.

Any above method may be repeated over time to further improve a positionestimate, with any number of subsequent estimates based on both a firstimage and subsequent images matched against façade data.

Further, as described above, in some such embodiments, images may becaptured by a first device, such as a wearable device, and localestimates performed on a paired device such as a smartphone. Suchsystems may also use remote server resources as described above.

FIG. 10A illustrates an example mobile device 1000 that may be used foran augmented reality system. In such an embodiment, a device displayarea 1090 may present augmented reality images as described herein.Inputs and adjustments to any system operation described herein may beperformed using touch screen inputs 1092 within device display area 1090by a user 1094.

FIG. 10B illustrates an example mobile device 1000 executing a mobileoperating system (e.g., IOS™, ANDROID™, WINDOWS® Phone, or other mobileoperating systems), consistent with some embodiments. In one embodiment,the mobile device 1000 includes a touch screen operable to receivetactile data from a user 1002. For instance, the user 1002 mayphysically touch 1004 the mobile device 1000, and in response to thetouch 1004, the mobile device 1000 may determine tactile data such astouch location, touch force, or gesture motion. In various exampleembodiments, the mobile device 1000 displays a home screen 1006 (e.g.,Springboard on IOS™) operable to launch applications or otherwise managevarious aspects of the mobile device 1000. In some example embodiments,the home screen 1006 provides status information such as battery life,connectivity, or other hardware statuses. The user 1002 can activateuser interface elements by touching an area occupied by a respectiveuser interface element. In this manner, the user 1002 interacts with theapplications of the mobile device 1000. For example, touching the areaoccupied by a particular icon included in the home screen 1006 causeslaunching of an application corresponding to the particular icon.

Many varieties of applications (also referred to as “apps”) can beexecuted on the mobile device 1000, such as native applications (e.g.,applications programmed in Objective-C, Swift, or another suitablelanguage running on IOS™, or applications programmed in Java running onANDROID™), mobile web applications (e.g., applications written inHypertext Markup Language-5 (HTML5)), or hybrid applications (e.g., anative shell application that launches an HTML5 session). For example,the mobile device 1000 includes a messaging app, an audio recording app,a camera app, a book reader app, a media app, a fitness app, a filemanagement app, a location app, a browser app, a settings app, acontacts app, a telephone call app, or other apps (e.g., gaming apps,social networking apps, biometric monitoring apps). In another example,the mobile device 1000 includes a social messaging app 1008 such asSNAPCHAT® that, consistent with some embodiments, allows users toexchange ephemeral messages that include media content. In this example,the social messaging app 1008 can incorporate aspects of embodimentsdescribed herein.

Certain embodiments are described herein as including logic or a numberof components, modules, or mechanisms. Modules can constitute eithersoftware modules (e.g., code embodied on a machine-readable medium) orhardware modules. A “hardware module” is a tangible unit capable ofperforming certain operations and can be configured or arranged in acertain physical manner. In various example embodiments, one or morecomputer systems (e.g., a standalone computer system, a client computersystem, or a server computer system) or one or more hardware modules ofa computer system (e.g., a processor or a group of processors) can beconfigured by software (e.g., an application or application portion) asa hardware module that operates to perform certain operations asdescribed herein.

In some embodiments, a hardware module can be implemented mechanically,electronically, or any suitable combination thereof. For example, ahardware module can include dedicated circuitry or logic that ispermanently configured to perform certain operations. For example, ahardware module can be a special-purpose processor, such as aField-Programmable Gate Array (FPGA) or an Application SpecificIntegrated Circuit (ASIC). A hardware module may also includeprogrammable logic or circuitry that is temporarily configured bysoftware to perform certain operations. For example, a hardware modulecan include software executed by a general-purpose processor or otherprogrammable processor. Once configured by such software, hardwaremodules become specific machines (or specific components of a machine)uniquely tailored to perform the configured functions and are no longergeneral-purpose processors. It will be appreciated that the decision toimplement a hardware module mechanically, in dedicated and permanentlyconfigured circuitry, or in temporarily configured circuitry (e.g.,configured by software) can be driven by cost and time considerations.

Accordingly, the phrase “hardware module” should be understood toencompass a tangible entity, be that an entity that is physicallyconstructed, permanently configured (e.g., hardwired), or temporarilyconfigured (e.g., programmed) to operate in a certain manner or toperform certain operations described herein. As used herein,“hardware-implemented module” refers to a hardware module. Consideringembodiments in which hardware modules are temporarily configured (e.g.,programmed), each of the hardware modules need not be configured orinstantiated at any one instance in time. For example, where a hardwaremodule comprises a general-purpose processor configured by software tobecome a special-purpose processor, the general-purpose processor may beconfigured as respectively different special-purpose processors (e.g.,comprising different hardware modules) at different times. Softwareaccordingly configures a particular processor or processors, forexample, to constitute a particular hardware module at one instance oftime and to constitute a different hardware module at a differentinstance of time.

Hardware modules can provide information to, and receive informationfrom, other hardware modules. Accordingly, the described hardwaremodules can be regarded as being communicatively coupled. Where multiplehardware modules exist contemporaneously, communications can be achievedthrough signal transmission (e.g., over appropriate circuits and buses)between or among two or more of the hardware modules. In embodiments inwhich multiple hardware modules are configured or instantiated atdifferent times, communications between such hardware modules may beachieved, for example, through the storage and retrieval of informationin memory structures to which the multiple hardware modules have access.For example, one hardware module can perform an operation and store theoutput of that operation in a memory device to which it iscommunicatively coupled. A further hardware module can then, at a latertime, access the memory device to retrieve and process the storedoutput. Hardware modules can also initiate communications with input oroutput devices, and can operate on a resource (e.g., a collection ofinformation).

The various operations of example methods described herein can beperformed, at least partially, by one or more processors that aretemporarily configured (e.g., by software) or permanently configured toperform the relevant operations. Whether temporarily or permanentlyconfigured, such processors constitute processor-implemented modulesthat operate to perform one or more operations or functions describedherein. As used herein, “processor-implemented module” refers to ahardware module implemented using one or more processors.

Similarly, the methods described herein can be at least partiallyprocessor-implemented, with a particular processor or processors beingan example of hardware. For example, at least some of the operations ofa method can be performed by one or more processors orprocessor-implemented modules. Moreover, the one or more processors mayalso operate to support performance of the relevant operations in a“cloud computing” environment or as a “software as a service” (SaaS).For example, at least some of the operations may be performed by a groupof computers (as examples of machines including processors), with theseoperations being accessible via a network (e.g., the Internet) and viaone or more appropriate interfaces (e.g., an API).

The performance of certain of the operations may be distributed amongthe processors, not only residing within a single machine, but deployedacross a number of machines. In some example embodiments, the processorsor processor-implemented modules can be located in a single geographiclocation (e.g., within a home environment, an office environment, or aserver farm). In other example embodiments, the processors orprocessor-implemented modules are distributed across a number ofgeographic locations.

The modules, methods, applications and so forth described in conjunctionwith the figures above are implemented in some embodiments in thecontext of a machine and an associated software architecture. Thesections below describe representative software architecture(s) andmachine (e.g., hardware) architecture that are suitable for use with thedisclosed embodiments.

Software architectures are used in conjunction with hardwarearchitectures to create devices and machines tailored to particularpurposes. For example, a particular hardware architecture coupled with aparticular software architecture will create a mobile device, such as amobile phone, tablet device, or so forth. A slightly different hardwareand software architecture may yield a smart device for use in the“internet of things.” While yet another combination produces a servercomputer for use within a cloud computing architecture. Not allcombinations of such software and hardware architectures are presentedhere as those of skill in the art can readily understand how toimplement the invention in different contexts from the disclosurecontained herein.

FIG. 11 shows aspects of certain embodiments illustrated by a frontperspective view of glasses 31. Glasses 31 may, in some embodiments, bea client companion device 114 that is used to capture images and topresent augmented reality images to a user. In such embodiments, thelocation estimated using image based processed described herein would beperformed by other devices to determine a location (including height,elevation, and any other perspective information) of the glasses 31 sothat the virtual items in the augmented reality images will correctly beshown from the perspective appropriate to the position of glasses 31.The glasses 31 can include a frame 32 made from any suitable materialsuch as plastic or metal, including any suitable shape memory alloy. Theframe 32 can have a front piece 33 that can include a first or leftlens, display, or optical element holder 36; and a second or right lens,display, or optical element holder 37 connected by a bridge 38. Thefront piece 33 additionally includes a left end portion 41 and a rightend portion 42. A first or left optical element 44 and a second or rightoptical element 43 can be provided within respective left and rightoptical element holders 36, 37. Each of the optical elements 43, 44 canbe a lens, a display, a display assembly, or a combination of theforegoing. Any of the display assemblies disclosed herein can beprovided in the glasses 31.

Frame 32 additionally includes a left arm or temple piece 46 and asecond arm or temple piece 47 coupled to the respective left and rightend portions 41, 42 of the front piece 33 by any suitable means such asa hinge (not shown), so as to be coupled to the front piece 33, orrigidly or fixably secured to the front piece so as to be integral withthe front piece 33. Each of the temple pieces 46 and 47 can include afirst portion 51 that is coupled to the respective end portion 41 or 42of the front piece 33 and any suitable second portion 52, such as acurved or arcuate piece, for coupling to the ear of the user. In oneembodiment, the front piece 33 can be formed from a single piece ofmaterial, so as to have a unitary or integral construction.

Glasses 31 can include a computing device, such as computer 61, whichcan be of any suitable type so as to be carried by the frame 32 and, inone embodiment of a suitable size and shape, so as to be at leastpartially disposed in one of the temple pieces 46 and 47. In oneembodiment, as illustrated in FIG. 1A, the computer 61 is sized andshaped similar to the size and shape of one of the temple pieces 46 and47 and is thus disposed almost entirely if not entirely within thestructure and confines of such temple pieces 46 and 47. In oneembodiment, the computer 61 can be disposed in both of the temple pieces46, 47. The computer 61 can include one or more processors with memory,wireless communication circuitry, and a power source. In certainembodiments, the computer 61 comprises low-power circuitry, high-speedcircuitry, and a display processor. Various other embodiments mayinclude these elements in different configurations or integratedtogether in different ways.

The computer 61 additionally includes a battery 62 or other suitableportable power supply. In one embodiment, the battery 62 is disposed inone of the temple pieces 46 or 47. In the glasses 31 shown in FIG. 11,the battery 62 is shown as being disposed in left temple piece 46 andelectrically coupled using connection 74 to the remainder of thecomputer 61 disposed in the right temple piece 47. The one or more inputand output devices can include a connector or port (not shown) suitablefor charging a battery 62 accessible from the outside of frame 32, awireless receiver, transmitter or transceiver (not shown), or acombination of such devices.

Glasses 31 include cameras 69. Although two cameras are depicted, otherembodiments contemplate the use of a single or additional (i.e., morethan two) cameras. In various embodiments, glasses 31 may include anynumber of input sensors or peripheral devices in addition to cameras 69.Front piece 33 is provided with an outward facing, forward-facing, orfront or outer surface 66 that faces forward or away from the user whenthe glasses 31 are mounted on the face of the user, and an oppositeinward-facing, rearward-facing, or rear or inner surface 67 that facesthe face of the user when the glasses 31 are mounted on the face of theuser. Such sensors can include inwardly-facing video sensors or digitalimaging modules such as cameras that can be mounted on or providedwithin the inner surface 67 of the front piece 33 or elsewhere on theframe 32 so as to be facing the user, and outwardly-facing video sensorsor digital imaging modules such as cameras 69 that can be mounted on orprovided with the outer surface 66 of the front piece 33 or elsewhere onthe frame 32 so as to be facing away from the user. Such sensors,peripheral devices, or peripherals can additionally include biometricsensors, location sensors, or any other such sensors. In additionalembodiments, similar elements may be presented as visors, within helmetor google based systems, in vehicle HUD displays, or in any other suchdevice.

FIG. 12 is a block diagram 1200 illustrating an architecture of software1202, which can be installed on any one or more of the devices describedabove. FIG. 12 is merely a non-limiting example of a softwarearchitecture, and it will be appreciated that many other architecturescan be implemented to facilitate the functionality described herein. Invarious embodiments, the software 1202 is implemented by hardware suchas machine 1300 of FIG. 13 that includes processors 1310, memory 1330,and input/output (I/O) components 1350. In this example architecture,the software 1202 can be conceptualized as a stack of layers where eachlayer may provide a particular functionality. For example, the software1202 includes layers such as an operating system 1204, libraries 1206,frameworks 1208, and applications 1210. Operationally, the applications1210 invoke API calls 1212 through the software stack and receivemessages 1214 in response to the API calls 1212, consistent with someembodiments. In one example, the advertisement selection system 160operates as an application 1210.

In various implementations, the operating system 1204 manages hardwareresources and provides common services. The operating system 1204includes, for example, a kernel 1220, services 1222, and drivers 1224.The kernel 1220 acts as an abstraction layer between the hardware andthe other software layers consistent with some embodiments. For example,the kernel 1220 provides memory management, processor management (e.g.,scheduling), component management, networking, and security settings,among other functionality. The services 1222 can provide other commonservices for the other software layers. The drivers 1224 are responsiblefor controlling or interfacing with the underlying hardware, accordingto some embodiments. For instance, the drivers 1224 can include displaydrivers, camera drivers, BLUETOOTH® drivers, flash memory drivers,serial communication drivers (e.g., Universal Serial Bus (USB) drivers),WI-FI® drivers, audio drivers, power management drivers, and so forth.

In some embodiments, the libraries 1206 provide a low-level commoninfrastructure utilized by the applications 1210. The libraries 1206 caninclude system libraries 1230 (e.g., C standard library) that canprovide functions such as memory allocation functions, stringmanipulation functions, mathematic functions, and the like. In addition,the libraries 1206 can include API libraries 1232 such as medialibraries (e.g., libraries to support presentation and manipulation ofvarious media formats such as Moving Picture Experts Group-4 (MPEG4),Advanced Video Coding (H.264 or AVC), Moving Picture Experts GroupLayer-3 (MP3), Advanced Audio Coding (AAC), Adaptive Multi-Rate (AMR)audio codec, Joint Photographic Experts Group (JPEG or JPG), or PortableNetwork Graphics (PNG)), graphics libraries (e.g., an OpenGL frameworkused to render in two dimensions (2D) and three dimensions (3D) in agraphic content on a display), database libraries (e.g., SQLite toprovide various relational database functions), web libraries (e.g.,WebKit to provide web browsing functionality), and the like. Thelibraries 1206 can also include a wide variety of other libraries 1234to provide many other APIs to the applications 1210.

The frameworks 1208 provide a high-level common infrastructure that canbe utilized by the applications 1210, according to some embodiments. Forexample, the frameworks 1208 provide various graphic user interface(GUI) functions, high-level resource management, high-level locationservices, and so forth. The frameworks 1208 can provide a broad spectrumof other APIs that can be utilized by the applications 1210, some ofwhich may be specific to a particular operating system 1204 or platform.

In an example embodiment, the applications 1210 include a homeapplication 1250, a contacts application 1252, a browser application1254, a book reader application 1256, a location application 1258, amedia application 1260, a messaging application 1262, a game application1264, and a broad assortment of other applications such as a third partyapplication 1266. According to some embodiments, the applications 1210are programs that execute functions defined in the programs. Variousprogramming languages can be employed to create one or more of theapplications 1210, structured in a variety of manners, such asobject-oriented programming languages (e.g., Objective-C, Java, or C++)or procedural programming languages (e.g., C or assembly language). In aspecific example, the third party application 1266 (e.g., an applicationdeveloped using the ANDROID™ or IOS™ software development kit (SDK) byan entity other than the vendor of the particular platform) may bemobile software running on a mobile operating system such as IOS™,ANDROID™, WINDOWS® Phone, or another mobile operating systems. In thisexample, the third party application 1266 can invoke the API calls 1212provided by the operating system 1204 to facilitate functionalitydescribed herein.

An augmented reality application 1267 may implement any system or methoddescribed herein, including accessing map information, processing imagean façade data matching, or any other operation described herein.Further, in some embodiments, messaging application 1262 and augmentedreality application 1267 may operate together as part of an ephemeralmessaging application. Such an ephemeral messaging application mayoperate to generate images, allow users to add augmented realityelements to the images, and communicate some or all of the images and/oraugmented reality data to another system user. After a deletion triggerhas been met, the sent data is communicated from the receiving user'ssystem, and may also be synchronized to delete the images and/oraugmented reality data from any server involved in communication of theephemeral message that included the image and/or the augmented realitydata. In some embodiments, the trigger for deletion of data from areceiving user's device may be a timer that indicates how long anaugmented reality image is displayed for. In other embodiments, theephemeral messaging system may have set date and time triggers fordeletion, or deletion associated with a number of times that a receivinguser has accessed the data.

For example, in one embodiment, a user may send a set of augmentedreality data to another user via an ephemeral messaging system. Theephemeral messaging data may include an emoji sticker object attached toa geolocation. When a receiving user's device receives the ephemeralmessage, the emoji will be available for viewing within an augmentedreality system with limitations set by the ephemeral messaging system.After a limitation trigger has been met, the emoji sticker will nolonger be available for viewing. In other embodiments, a user may selectan ephemeral or non-ephemeral status for such a message includingaugmented reality data, such that a non-ephemeral message including thedata will wait for a selection from a receiving user to delete theaugmented reality data, and the augmented reality data that is part ofthe message may be stored on a communication server indefinitely.

FIG. 13 is a block diagram illustrating components of a machine 1300,according to some example embodiments, able to read instructions from amachine-readable medium (e.g., a machine-readable storage medium) andperform any one or more of the methodologies discussed herein.Specifically, FIG. 13 shows a diagrammatic representation of the machine1300 in the example form of a computer system, within which instructions1316 (e.g., software, a program, an application, an applet, an app, orother executable code) for causing the machine 1300 to perform any oneor more of the methodologies discussed herein can be executed.Additionally, or alternatively, the instruction can implement any moduleof FIG. 2, and so forth. The instructions transform the general,non-programmed machine into a particular machine programmed to carry outthe described and illustrated functions in the manner described. Inalternative embodiments, the machine 1300 operates as a standalonedevice or can be coupled (e.g., networked) to other machines. In anetworked deployment, the machine 1300 may operate in the capacity of aserver machine or a client machine in a server-client networkenvironment, or as a peer machine in a peer-to-peer (or distributed)network environment. The machine 1300 can comprise, but not be limitedto, a server computer, a client computer, a PC, a tablet computer, alaptop computer, a netbook, a set-top box (STB), a PDA, an entertainmentmedia system, a cellular telephone, a smart phone, a mobile device, awearable device (e.g., a smart watch), a smart home device (e.g., asmart appliance), other smart devices, a web appliance, a networkrouter, a network switch, a network bridge, or any machine capable ofexecuting the instructions 1316, sequentially or otherwise, that specifyactions to be taken by the machine 1300. Further, while only a singlemachine 1300 is illustrated, the term “machine” shall also be taken toinclude a collection of machines 1300 that individually or jointlyexecute the instructions 1316 to perform any one or more of themethodologies discussed herein.

The machine 1300 can include processors 1310, memory/storage 1330, and1/O components 1350, which can be configured to communicate with eachother such as via a bus 1302. In an example embodiment, the processors1310 (e.g., a Central Processing Unit (CPU), a Reduced Instruction SetComputing (RISC) processor, a Complex Instruction Set Computing (CISC)processor, a Graphics Processing Unit (GPU), a Digital Signal Processor(DSP), an Application Specific Integrated Circuit (ASIC), aRadio-Frequency Integrated Circuit (RFIC), another processor, or anysuitable combination thereof) can include, for example, processor 1312and processor 1314 that may execute instructions 1316. The term“processor” is intended to include multi-core processor that maycomprise two or more independent processors (sometimes referred to as“cores”) that can execute instructions contemporaneously. Although FIG.13 shows multiple processors, the machine 1300 may include a singleprocessor with a single core, a single processor with multiple cores(e.g., a multi-core processor), multiple processors with a single core,multiple processors with multiples cores, or any combination thereof.

The memory/storage 1330 can include a main memory 1332, a static memory1334, or other memory storage, and a storage unit 1336, both accessibleto the processors 1310 such as via the bus 1302. The storage unit 1336and memory 1332 store the instructions 1316 embodying any one or more ofthe methodologies or functions described herein. The instructions 1316can also reside, completely or partially, within the memory 1332, withinthe storage unit 1336, within at least one of the processors 1310 (e.g.,within the processor's cache memory), or any suitable combinationthereof, during execution thereof by the machine 1300. Accordingly, thememory 1332, the storage unit 1336, and the memory of the processors1310 are examples of machine-readable media.

As used herein, the term “machine-readable medium” means a device ableto store instructions and data temporarily or permanently and mayinclude, but is not be limited to, random-access memory (RAM), read-onlymemory (ROM), buffer memory, flash memory, optical media, magneticmedia, cache memory, other types of storage (e.g., Erasable ProgrammableRead-Only Memory (EEPROM)) or any suitable combination thereof. The term“machine-readable medium” should be taken to include a single medium ormultiple media (e.g., a centralized or distributed database, orassociated caches and servers) able to store instructions 1316. The term“machine-readable medium” shall also be taken to include any medium, orcombination of multiple media, that is capable of storing instructions(e.g., instructions 1316) for execution by a machine (e.g., machine1300), such that the instructions, when executed by one or moreprocessors of the machine 1300 (e.g., processors 1310), cause themachine 1300 to perform any one or more of the methodologies describedherein. Accordingly, a “machine-readable medium” refers to a singlestorage apparatus or device, as well as “cloud-based” storage systems orstorage networks that include multiple storage apparatus or devices. Theterm “machine-readable medium” excludes signals per se.

The I/O components 1350 can include a wide variety of components toreceive input, provide output, produce output, transmit information,exchange information, capture measurements, and so on. The specific I/Ocomponents 1350 that are included in a particular machine will depend onthe type of machine. For example, portable machines such as mobilephones will likely include a touch input device or other such inputmechanisms, while a headless server machine will likely not include sucha touch input device. It will be appreciated that the I/O components1350 can include many other components that are not shown in FIG. 13.The I/O components 1350 are grouped according to functionality merelyfor simplifying the following discussion and the grouping is in no waylimiting. In various example embodiments, the I/O components 1350 caninclude output components 1352 and input components 1354. The outputcomponents 1352 can include visual components (e.g., a display such as aplasma display panel (PDP), a light emitting diode (LED) display, aliquid crystal display (LCD), a projector, or a cathode ray tube (CRT)),acoustic components (e.g., speakers), haptic components (e.g., avibratory motor, resistance mechanisms), other signal generators, and soforth. The input components 1354 can include alphanumeric inputcomponents (e.g., a keyboard, a touch screen configured to receivealphanumeric input, a photo-optical keyboard, or other alphanumericinput components), point based input components (e.g., a mouse, atouchpad, a trackball, a joystick, a motion sensor, or other pointinginstruments), tactile input components (e.g., a physical button, a touchscreen that provides location and force of touches or touch gestures, orother tactile input components), audio input components (e.g., amicrophone), and the like.

In further example embodiments, the I/O components 1350 can includebiometric components 1356, motion components 1358, environmentalcomponents 1360, or position components 1362 among a wide array of othercomponents. For example, the biometric components 1356 can includecomponents to detect expressions (e.g., hand expressions, facialexpressions, vocal expressions, body gestures, or eye tracking), measurebiosignals (e.g., blood pressure, heart rate, body temperature,perspiration, or brain waves), identify a person (e.g., voiceidentification, retinal identification, facial identification,fingerprint identification, or electroencephalogram basedidentification), and the like. The motion components 1358 can includeacceleration sensor components (e.g., an accelerometer), gravitationsensor components, rotation sensor components (e.g., a gyroscope), andso forth. The environmental components 1360 can include, for example,illumination sensor components (e.g., a photometer), temperature sensorcomponents (e.g., one or more thermometers that detect ambienttemperature), humidity sensor components, pressure sensor components(e.g., a barometer), acoustic sensor components (e.g., one or moremicrophones that detect background noise), proximity sensor components(e.g., infrared sensors that detect nearby objects), gas sensorcomponents (e.g., machine olfaction detection sensors, gas detectionsensors to detect concentrations of hazardous gases for safety or tomeasure pollutants in the atmosphere), or other components that mayprovide indications, measurements, or signals corresponding to asurrounding physical environment. The position components 1362 caninclude location sensor components (e.g., a GPS receiver component),altitude sensor components (e.g., altimeters or barometers that detectair pressure from which altitude may be derived), orientation sensorcomponents (e.g., magnetometers), and the like.

Communication can be implemented using a wide variety of technologies.The I/O components 1350 may include communication components 1364operable to couple the machine 1300 to a network 1380 or devices 1370via a coupling 1382 and a coupling 1372, respectively. For example, thecommunication components 1364 include a network interface component orother suitable device to interface with the network 1380. In furtherexamples, communication components 1364 include wired communicationcomponents, wireless communication components, cellular communicationcomponents, Near Field Communication (NFC) components, BLUETOOTH®components (e.g., BLUETOOTH® Low Energy), WI-FI® components, and othercommunication components to provide communication via other modalities.The devices 1370 may be another machine or any of a wide variety ofperipheral devices (e.g., a peripheral device coupled via a USB).

Moreover, the communication components 1364 can detect identifiers orinclude components operable to detect identifiers. For example, thecommunication components 1364 can include Radio Frequency Identification(RFID) tag reader components, NFC smart tag detection components,optical reader components (e.g., an optical sensor to detectone-dimensional bar codes such as a Universal Product Code (UPC) barcode, multi-dimensional bar codes such as a Quick Response (QR) code,Aztec Code, Data Matrix, Dataglyph, MaxiCode, PDF417, Ultra Code,Uniform Commercial Code Reduced Space Symbology (UCC RSS)-2D bar codes,and other optical codes), acoustic detection components (e.g.,microphones to identify tagged audio signals), or any suitablecombination thereof. In addition, a variety of information can bederived via the communication components 1364, such as location viaInternet Protocol (IP) geo-location, location via WI-FI® signaltriangulation, location via detecting a BLUETOOTH® or NFC beacon signalthat may indicate a particular location, and so forth.

In various example embodiments, one or more portions of the network 1380can be an ad hoc network, an intranet, an extranet, a virtual privatenetwork (VPN), a local area network (LAN), a wireless LAN (WLAN), a widearea network (WAN), a wireless WAN (WWAN), a metropolitan area network(MAN), the Internet, a portion of the Internet, a portion of the PublicSwitched Telephone Network (PSTN), a plain old telephone service (POTS)network, a cellular telephone network, a wireless network, a WI-FI®network, another type of network, or a combination of two or more suchnetworks. For example, the network 1380 or a portion of the network 1380may include a wireless or cellular network, and the coupling 1382 may bea Code Division Multiple Access (CDMA) connection, a Global System forMobile communications (GSM) connection, or other type of cellular orwireless coupling. In this example, the coupling 1382 can implement anyof a variety of types of data transfer technology, such as SingleCarrier Radio Transmission Technology (1×RTT), Evolution-Data Optimized(EVDO) technology, General Packet Radio Service (GPRS) technology,Enhanced Data rates for GSM Evolution (EDGE) technology, thirdGeneration Partnership Project (3GPP) including 3G, fourth generationwireless (4G) networks, Universal Mobile Telecommunications System(UMTS), High Speed Packet Access (HSPA), Worldwide Interoperability forMicrowave Access (WiMAX), Long Term Evolution (LTE) standard, othersdefined by various standard setting organizations, other long rangeprotocols, or other data transfer technology.

The instructions 1316 can be transmitted or received over the network1380 using a transmission medium via a network interface device (e.g., anetwork interface component included in the communication components1364) and utilizing any one of a number of well-known transfer protocols(e.g., HTTP). Similarly, the instructions 1316 can be transmitted orreceived using a transmission medium via the coupling 1372 (e.g., apeer-to-peer coupling) to devices 1370. The term “transmission medium”shall be taken to include any intangible medium that is capable ofstoring, encoding, or carrying the instructions 1316 for execution bythe machine 1300, and includes digital or analog communications signalsor other intangible medium to facilitate communication of such software.

Throughout this specification, plural instances may implementcomponents, operations, or structures described as a single instance.Although individual operations of one or more methods are illustratedand described as separate operations, one or more of the individualoperations may be performed concurrently, and nothing requires that theoperations be performed in the order illustrated. Structures andfunctionality presented as separate components in example configurationsmay be implemented as a combined structure or component. Similarly,structures and functionality presented as a single component may beimplemented as separate components. These and other variations,modifications, additions, and improvements fall within the scope of thesubject matter herein.

Although an overview of the inventive subject matter has been describedwith reference to specific example embodiments, various modificationsand changes may be made to these embodiments without departing from thebroader scope of embodiments of the present disclosure. Such embodimentsof the inventive subject matter may be referred to herein, individuallyor collectively, by the term “invention” merely for convenience andwithout intending to voluntarily limit the scope of this application toany single disclosure or inventive concept if more than one is, in fact,disclosed.

The embodiments illustrated herein are described in sufficient detail toenable those skilled in the art to practice the teachings disclosed.Other embodiments may be used and derived therefrom, such thatstructural and logical substitutions and changes may be made withoutdeparting from the scope of this disclosure. The Detailed Description,therefore, is not to be taken in a limiting sense, and the scope ofvarious embodiments is defined only by the appended claims, along withthe full range of equivalents to which such claims are entitled.

As used herein, the term “or” may be construed in either an inclusive orexclusive sense. Moreover, plural instances may be provided forresources, operations, or structures described herein as a singleinstance. Additionally, boundaries between various resources,operations, modules, engines, and data stores are somewhat arbitrary,and particular operations are illustrated in a context of specificillustrative configurations. Other allocations of functionality areenvisioned and may fall within a scope of various embodiments of thepresent disclosure. In general, structures and functionality presentedas separate resources in the example configurations may be implementedas a combined structure or resource. Similarly, structures andfunctionality presented as a single resource may be implemented asseparate resources. These and other variations, modifications,additions, and improvements fall within a scope of embodiments of thepresent disclosure as represented by the appended claims. Thespecification and drawings are, accordingly, to be regarded in anillustrative rather than a restrictive sense.

What is claimed is:
 1. A method comprising: retrieving, by one or moreprocessors, building location information describing one or morelocation points for at least a first building, the building locationinformation associated with a first position estimate of the device;retrieving map data comprising at least one map location associated withthe building location information; processing, using the one or moreprocessors, a first image of an environment comprising the firstbuilding using the building location information to identify a matchbetween a first portion of the first image of the environment and theone or more location points of the building location information;calculating, using the one or more processors, a second positionestimate based at least in part on a perspective associated with thefirst portion of the first image of the environment and the matchbetween the first portion and the one or more location points; andcausing the first building and the first image of the environment to bedisplayed in a map interface based on the map data and the secondposition estimate.
 2. The method of claim 1, further comprising:capturing a plurality of model images of the environment; capturing amodel location for each of the plurality of model images of theenvironment; and processing the plurality of model images and the modellocation for each of the plurality of model images to generate adatabase of building location points comprising the one or more locationpoints for the building, wherein the one or more location points asprocessed describe one or more façade surface locations and atwo-dimensional façade pattern.
 3. The method of claim 1, furthercomprising: responsive to the first position estimate, receiving thebuilding location information, wherein the one or more location pointsof the building location information comprises one or more façadesurface locations and a two-dimensional façade pattern.
 4. The method ofclaim 3, wherein processing the first image of the environmentcomprises: calculating an expected perspective for the two-dimensionalfaçade pattern based on the first position estimate and the one or morefaçade surface locations; generating a first perspective pattern basedon the two-dimensional façade pattern; processing the first image of theenvironment using the first perspective pattern to identify a firstsurface.
 5. The method of claim 4, wherein calculating the secondposition estimate of the device, comprises: calculating an error valuebetween the first perspective pattern and the first surface of the firstimage; determining a relative location value associated with the errorvalue; and determining the second position estimate from the firstposition estimate using the relative location value.
 6. The method ofclaim 5, further comprising: accessing a set of augmented reality imagedata associated with an augmented reality image item; capturing, by theimage sensor, a second image of the environment; calculating a positionfor the augmented reality image item using the second position estimate;generating an augmented reality image using the second image, the set ofaugmented reality image data, and the second position estimate; andcausing the augmented reality image to be displayed in the mapinterface.
 7. The method of claim 4, wherein identifying the firstsurface of the first image comprises: calculating, from the firstposition estimate and the one or more façade surface locations, anexpected perspective for the two-dimensional façade pattern; processingthe two-dimensional façade pattern to generate a first perspectivepattern; determining that the first perspective pattern does not meet athreshold match level for the first image; requesting a supplemental setof façade data from a first server computer; and receiving thesupplemental set of façade data from the first server computer; whereinthe identifying of the first surface is based on the supplemental set offaçade data.
 8. The method of claim 7, wherein receiving thesupplemental set of façade data comprises receiving a supplementalposition estimate from the first server computer based on the firstimage.
 9. The method of claim 8, further comprising: capturing a secondimage of the environment; identifying a first surface of the secondimage; and calculating a perspective difference between the firstsurface of the second image and the first surface of the first image;and generating a third position estimate using the second positionestimate and the perspective difference.
 10. The method of claim 7further comprising: receiving two-dimensional augmented reality data foran image overlay object; determining an augmented realty placement ofthe image overlay object as positioned on a plane with the one or morefaçade surface locations; using the expected perspective for thetwo-dimensional façade pattern as an image overlay object perspective;and generating an augmented reality image comprising the image overlayobject on the plane with the one or more façade surface locations basedon the expected perspective.
 11. The embodiment of claim 10 wherein thetwo-dimensional augmented reality data represents an emoji objectselected by a user input from a set of augmented reality systempictograms.
 12. The method of claim 1, further comprising: identifying,using the building location information, a second surface of the firstimage of the environment, wherein the second surface matches secondlocation points of the building location information; wherein the secondposition estimate is further calculating based at least in part on asecond perspective of the second surface of the first image of theenvironment.
 13. The method of claim 12, further comprising: updatingthe building location information using the first image and the secondimage to adjust the one or more façade surface locations and thetwo-dimensional façade pattern.
 14. The method of claim 13, furthercomprising: communicating at least a portion of the first image and atleast a portion of the second image to a computing device with thesecond location estimate and the third location estimate.
 15. A systemcomprising: a memory, and one or more processors coupled to the memory,the one or more processors configured to perform operations comprising:retrieving building location information describing one or more locationpoints for at least a first building, the building location informationassociated with a first position estimate of the device; retrieving mapdata comprising at least one map location associated with the buildinglocation information; processing a first image of an environmentcomprising the first building using the building location information toidentify a match between a first portion of the first image of theenvironment and the one or more location points of the building locationinformation; calculating a second position estimate based at least inpart on a perspective associated with the first portion of the firstimage of the environment and the match between the first portion and theone or more location points; and causing the first building and thefirst image of the environment to be displayed in a map interface basedon the map data and the second position estimate.
 16. The device ofclaim 15, wherein the one or more processors are further configured toperform operations comprising: managing receipt, in response to thefirst position estimate, of the building location information, whereinthe one or more location points of the building location informationcomprises one or more façade surface locations and a two-dimensionalfaçade pattern.
 17. The device of claim 16, wherein the one or moreprocessors are further configured to perform operations comprising:calculating, from the first position estimate and the one or more façadesurface locations, an expected perspective for the two-dimensionalfaçade pattern; processing the two-dimensional façade pattern togenerate a first perspective pattern; and processing the first image ofthe environment using the first perspective pattern to identify thefirst surface.
 18. A non-transitory computer readable medium comprisinginstructions that, when executed by one or more processors of a device,cause the device to perform operations comprising: retrieving buildinglocation information describing one or more location points for at leasta first building, the building location information associated with afirst position estimate of the device; retrieving map data comprising atleast one map location associated with the building locationinformation; processing a first image of an environment comprising thefirst building using the building location information to identify amatch between a first portion of the first image of the environment andthe one or more location points of the building location information;calculating a second position estimate based at least in part on aperspective associated with the first portion of the first image of theenvironment and the match between the first portion and the one or morelocation points; and causing the first building and the first image ofthe environment to be displayed in a map interface based on the map dataand the second position estimate.
 19. The non-transitory computerreadable medium of claim 18 wherein the instructions further cause thedevice to perform operations comprising: in response to the firstposition estimate, managing the building location information, whereinthe one or more location points of the building location informationcomprises one or more façade surface locations and a two-dimensionalfaçade pattern; calculating, from the first position estimate and theone or more façade surface locations, an expected perspective for thetwo-dimensional façade pattern; processing the two-dimensional façadepattern to generate a first perspective pattern; processing the firstimage of the environment using the first perspective pattern to identifya first surface; and wherein calculating the second position estimate ofthe device, comprises: calculating an error value between the firstperspective pattern and the first surface of the first image;determining a relative location value associated with the error value;and determining the second position estimate from the first positionestimate using the relative location value.
 20. The non-transitorycomputer readable medium of claim 18 wherein identifying the firstsurface of the first image comprises: calculating, from the firstposition estimate and the one or more façade surface locations, anexpected perspective for the two-dimensional façade pattern; processingthe two-dimensional façade pattern to generate a first perspectivepattern; determining that the first perspective pattern does not meet athreshold match level for the first image; and receiving a supplementalset of façade data, wherein the identifying of the first surface isbased on the supplemental set of façade data.